.container {
  width: var(--width-primary);
  margin: auto;
}

.category_panel {
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
  width: 23.4rem;
  height: 46rem;
  background-color: rgba(105, 101, 101, 0.6);
  padding: 2rem 0;

  .category_item {
    height: 4.2rem;
    line-height: 4.2rem;
    padding: 0 2rem 0 3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;

    &.active,
    &:hover {
      background-color: var(--color-primary);
    }

    .label {
      color: #fff;
      font-size: 1.4rem;
    }

    .icon {
      font-size: 1.6rem;
      color: var(--color-border);
    }
  }

  .products_panel {
    position: absolute;
    left: 100%;
    top: 0;
    bottom: 0;
    background-color: #fff;
    border: 0.1rem solid var(--color-border);
    box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.18);
    flex-direction: column;
    flex-wrap: wrap;

    .product_item {
      padding: 1.8rem 2rem;
      transition: color 0.2s;
      display: flex;
      align-items: center;
      cursor: pointer;

      &:hover {
        .label {
          color: var(--color-primary);
        }
      }

      .picture {
        width: 4rem;
        height: 4rem;
        margin-right: 1.2rem;
      }

      .label {
        color: #333;
        width: 15.2rem;
        font-size: 1.4rem;
      }
    }
  }
}

.banner_card {
  .banner_swiper {
    width: var(--width-primary);
    height: 46rem;

    .banner_item {
      .picture {
        width: var(--width-primary);
        height: 100%;
      }
    }
  }

  .btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 4rem;
    height: 7rem;
    cursor: pointer;
    z-index: 1;
    text-align: center;
    line-height: 7rem;
    font-size: 2rem;
    color: #fff;
    transition: 0.2s;

    &:hover {
      background-color: rgba(0, 0, 0, 0.4);
    }

    &.left {
      left: 23.4rem;
      border-radius: 0 0.2rem 0.2rem 0;
    }

    &.right {
      right: 0;
      border-radius: 0.2rem 0 0 0.2rem;
    }
  }
}
